<?exit?>

<!--{if is_array($_G['brandads']['sidebardiscountshoparr'])}-->
<div class="bm" id="rdshop">
	<div class="bm_h">
		<h3>{$lang['rdshop']}</h3>
	</div>
	<div class="bm_c">
		<ul class="tlist tlp cl">
			<!--{eval $count = 1; }-->
			<!--{loop $_G['brandads']['sidebardiscountshoparr'] $tmpid}-->
			<!--{eval $tmparr = $_BCACHE->getshopinfo($tmpid['itemid'], array('thumbwidth'=>'50', 'thumbheight'=>'50')); $count ++; }-->
			<!--{if !empty($tmparr['itemid'])}-->
			<li class="cl{if $count == 2} a{/if}">
				<div class="thumb">
					<a target="_blank" href="store.php?id={$tmparr['itemid']}" title="{$tmparr['subject']}">
						<img src="$tmparr['thumb-50x50']" alt="{$tmparr['subject']}"/>
					</a>
				</div>
				<p><a href="store.php?id={$tmparr['itemid']}" target="_blank">{eval echo cutstr($tmparr['subject'],24);}</a></p>
				<span class="xi1">{$_G['categorylist'][$tmparr['catid']]['name']}</span>
			</li>
			<!--{/if}-->
			<!--{/loop}-->
		</ul>
	</div>
</div>
<script>
$("#rdshop").find("li").mouseover(function(){$("#rdshop").find("li").removeClass("a"); $(this).addClass("a");});
</script>
<!--{/if}-->
<!--{eval unset($tmparr, $tmpads, $tmpid, $tmpnum);}-->
